<% form_for :judgment, @judgment, :url =>{ :action => 'update', :id => @judgment }, :html => {:id => 'judgement_form' }  do  %>
  <%= render :inline => @judgment.submission.cycle.judge_view, 
             :locals => { :@submission_data => @submission_data, :@judgment_data => @judgment_data } %> 

  <h6>Administrative Information</h6>
  <div class="form_question">
    <div class="form_element_label">Total Request</div> 
    <div class="form_element"><%=h sprintf("$ %0.2f", @judgment.submission.total_cost) %></div>                 
  </div>   

  <div class="form_question">
    <div class="form_element_label">Final Score</div> 
    <div class="form_element"><div id="final_score"><%= @judgment.score %></div></div>
  </div>   

  <%= render :partial => 'form' %>
  <%= submit_tag 'Save Changes' %>

<% end %>   

<%= observe_form 'judgement_form', 
                 :url => {:action => 'final_score'}, 
                 :update => 'final_score', 
                 :frequency => 5 %>

